<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
	<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
	<title>AUI快速完成布局</title>
	<link rel="stylesheet" type="text/css" href="aui.css" />
</head>
<body>
<div class="aui-tab" id="tab">
	<div class="aui-tab-item aui-active">Item1</div>
	<div class="aui-tab-item">Item2</div>
	<div class="aui-tab-item">Item3</div>
	<div class="aui-tab-item">Item4</div>
</div>
</body>
<script type="text/javascript" src="api.js" ></script>
<script type="text/javascript" src="aui-tab.js" ></script>
<script type="text/javascript">
	apiready = function(){
		api.parseTapmode();
	}
	var tab = new auiTab({
		element:document.getElementById("tab"),
		index:1,
		repeatClick:true,
//		callback:function(o,dom){
//			console.log(o);
//		}
	},function(ret){
		console.log(ret)
	});
</script>
</html>